'use strict';

module.exports = {
  up: async (queryInterface, Sequelize) => {

    await queryInterface.bulkInsert('Users', [
      {
        username: 'John111',
        password: '123456',
        nickname:'小九啊',
        avatar:'http://baidu.com',
        createdAt: new Date(),
        updatedAt: new Date()
      },
      {
        username: 'John222',
        password: '123456',
        nickname:'小九啊',
        avatar:'http://baidu.com',
        createdAt: new Date(),
        updatedAt: new Date()
      },
      {
        username: 'John333',
        password: '123456',
        nickname:'小九啊',
        avatar:'http://baidu.com',
        createdAt: new Date(),
        updatedAt: new Date()
      },
    ], {});
  },

  down: async (queryInterface, Sequelize) => {
    await queryInterface.bulkDelete('Users', null, {});
  }
};
